package com.icity.entity;

import java.util.Date;

/**
 * 菜单实体
 * @author lenovo
 *
 */
public class Menu{

	private int id;
	private String unique_code;//唯一标志
	private String parent_code;//父级code
	private String name;//名称
	private String poster;//图片
	private String describes;//描述
	private String icon_code;//图标icon代码
	private String url;//路径
	private Integer status;//1.启用；2.禁用
	private Integer torder;//排序
	private Date create_time;//创建时间
	private Date update_time;//修改时间
	private String parent_name;//父级名称
/*	private List<Menu> childCates;*/



	/*public List<Menu> getChildCates() {
		return childCates;
	}
	public void setChildCates(List<Menu> childCates) {
		this.childCates = childCates;
	}*/
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getPoster() {
		return poster;
	}
	public void setPoster(String poster) {
		this.poster = poster;
	}
	public String getDescribes() {
		return describes;
	}
	public void setDescribes(String describes) {
		this.describes = describes;
	}
	public String getParent_name() {
		return parent_name;
	}
	public void setParent_name(String parent_name) {
		this.parent_name = parent_name;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getTorder() {
		return torder;
	}
	public void setTorder(Integer torder) {
		this.torder = torder;
	}

	public String getUnique_code() {
		return unique_code;
	}
	public void setUnique_code(String unique_code) {
		this.unique_code = unique_code;
	}
	public String getParent_code() {
		return parent_code;
	}
	public void setParent_code(String parent_code) {
		this.parent_code = parent_code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public String getIcon_code() {
		return icon_code;
	}
	public void setIcon_code(String icon_code) {
		this.icon_code = icon_code;
	}

}
